package org.dromara.timemate.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 每日设备指标
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tm_daily_device_metrics")
public class DailyDeviceMetrics extends TenantEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
    * 关联设备id
    */
    private Long deviceId;

    /**
    * 收缩压
    */
    private String systolicPressure;

    /**
    * 舒张压
    */
    private String diastolicPressure;

    /**
    * 脉搏值
    */
    private String pulseRate;

    /**
    * 心率值
    */
    private String heartRate;

    /**
    * 采集日期
    */
    private Date recordDay;

    /**
    * 删除标志
    */
    @TableLogic
    private Integer delFlag;
}
